<?php
namespace app\common\model;

use think\Request;
use think\Model;

class ArticleModel extends Model{
    protected $table = 'article';
    protected $autoWriteTimestamp = true;
    
    public function getImgAttr($value){
        $domain = 'http://api.blog.io';
        return $domain.$value;
    }
}
